package com.d3works.apps.sale.service.saleorder;

import com.d3works.apps.crm.db.Opportunity;
import com.d3works.apps.sale.db.SaleOrder;
import com.d3works.exception.D3worksException;
import com.google.inject.persist.Transactional;

public interface OpportunitySaleOrderService {

  @Transactional(rollbackOn = {Exception.class})
  public SaleOrder createSaleOrderFromOpportunity(Opportunity opportunity) throws D3worksException;
}
